wayland: Don't crash without xdg_activation_v1
authorMatthias Clasen <mclasen@redhat.com>
Sun, 26 Mar 2023 14:11:14 +0000 (10:11 -0400)
committerMichael Catanzaro <mcatanzaro@gnome.org>
Wed, 29 Mar 2023 00:39:04 +0000 (20:39 -0400)
commit78bdfe9db9b463442ceeace130cf209080291d9c
tree103fe2a116015d47a7403d116fd0cb72fc260b54
parent76c6a5520665e0b0111e62729face1517a91b2cc
wayland: Don't crash without xdg_activation_v1

If the compositor does not support this protocol,
we can't use it.

Fixes: #5701
(cherry picked from commit 3a5282abe1aabebef7d276a01a36f7512cab4b9b)
gdk/wayland/gdktoplevel-wayland.c